﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaseProfilePersonal.ascx.cs" Inherits="PayrollHR.Administration.Modules.CaseProfilePersonal" %>
<%@ Register Src="ToolTipLabelControl.ascx" TagName="ToolTipLabelControl" TagPrefix="uc1" %>
<%@ Register Src="DecimalTextBox.ascx" TagName="DecimalTextBox" TagPrefix="uc2" %>
<%@ Register Src="DatePicker.ascx" TagName="DatePicker" TagPrefix="uc3" %>

<table class="adminContent">
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProDate" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProDate.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProDate.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpProDate" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProCurator" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProCurator.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProCurator.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProCurator" runat="server" CssClass="adminInput"></asp:TextBox>
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProFullName" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProFullName.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProFullName.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProFullName" runat="server" CssClass="adminInput"></asp:TextBox>
        </td>

    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProSource" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProSource.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProSource.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProSource" runat="server" CssClass="adminInput"></asp:TextBox>
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProSchool" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProSchool.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProSchool.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProSchool" runat="server" CssClass="adminInput"></asp:TextBox>
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProProgram" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProProgram.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProProgram.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProProgram" runat="server" CssClass="adminInput"></asp:TextBox>
        </td>


    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProDateOfAdmission" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProDateOfAdmission.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProDateOfAdmission.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpProDateOfAdmission" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProscheduledInterviewDate" Text="<%$PayrollResources:Admin.CaseProfilePersonal.ProscheduledInterviewDate.Text%>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProscheduledInterviewDate.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpProscheduledInterviewDate" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="lblProOther" Text="<% $PayrollResources:Admin.CaseProfilePersonal.ProOther.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ProOther.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:TextBox ID="txtProOther" runat="server" TextMode="MultiLine" CssClass="adminInput"></asp:TextBox>
        </td>

    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl1" Text="<% $PayrollResources:Admin.CaseProfilePersonal.ResultVisa.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ResultVisa.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td colspan="3">
            <asp:RadioButtonList ID="RdButtonListVisa" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Value="0">OK</asp:ListItem>
                <asp:ListItem Value="1">Fail</asp:ListItem>
                <asp:ListItem Value="2">Waiting</asp:ListItem>
                <asp:ListItem Value="3">Close</asp:ListItem>
                <asp:ListItem Value="4">Pending</asp:ListItem>
                <asp:ListItem Value="5">Running</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl2" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Addprofile.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Addprofile.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddprofile" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl3" Text="<% $PayrollResources:Admin.CaseProfilePersonal.AddprofileSchools.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.AddprofileSchools.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddprofileSchools" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl4" Text="<% $PayrollResources:Admin.CaseProfilePersonal.AddSeviceFreeSchools.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.AddSeviceFreeSchools.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddSeviceFreeSchools" CssClass="adminInput" runat="server" />
        </td>
    </tr>
    <tr>        
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl6" Text="<% $PayrollResources:Admin.CaseProfilePersonal.AddSeviceFree.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.AddSeviceFree.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddSeviceFree" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl5" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Addhealthcare.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Addhealthcare.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddhealthcare" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl7" Text="<% $PayrollResources:Admin.CaseProfilePersonal.AddI20offer.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.AddI20offer.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddI20offer" CssClass="adminInput" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl8" Text="<% $PayrollResources:Admin.CaseProfilePersonal.AddCheckI20offer.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.AddCheckI20offer.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpAddCheckI20offer" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl9" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationticket.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationticket.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpRegistrationticket" CssClass="adminInput" runat="server" />
        </td>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl10" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationtaccommodation.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationtaccommodation.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpRegistrationtaccommodation" CssClass="adminInput" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl11" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationairport.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Registrationairport.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpRegistrationairport" CssClass="adminInput" runat="server" />
        </td>
         <td class="adminTitle">
            <uc1:ToolTipLabelControl runat="server" ID="ToolTipLabelControl12" Text="<% $PayrollResources:Admin.CaseProfilePersonal.TransferSchool.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.TransferSchool.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <uc3:DatePicker ID="dpTransferSchool" CssClass="adminInput" runat="server" />
        </td>
    </tr>
</table>
<asp:GridView ID="gvObject" runat="server" AutoGenerateColumns="False" Width="100%"
    OnPageIndexChanging="gvObject_PageIndexChanging" AllowPaging="true"
    PageSize="12" OnRowDataBound="gvObject_RowDataBound" OnRowDeleting="gvObject_RowDeleting">
    <Columns>
        <asp:TemplateField HeaderText="Giấy tờ cần thiết" ItemStyle-Width="20%">
            <ItemTemplate>
                <%#Server.HtmlEncode(Eval("ObjectName").ToString())%>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Bản Gốc"
            HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <asp:CheckBox ID="cbOriginalCopy" runat="server" Checked='<%# Eval("OriginalCopy")%>' />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Sao y"
            HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <asp:CheckBox ID="cbNotOriginalCopy" runat="server" Checked='<%# Eval("duplicate") %>' />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Ngày Yêu Cầu"
            HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <%#Server.HtmlEncode(Eval("OnRequest").ToString())%>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Ngày Nộp"
            HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <%#Server.HtmlEncode(Eval("DateSubmitted").ToString())%>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Ghi Chú"
            HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="25%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <%#Server.HtmlEncode(Eval("Note").ToString())%>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Delete" HeaderStyle-HorizontalAlign="Center"
            ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center">
            <ItemTemplate>
                <asp:HiddenField ID="hfProfileID" runat="server" Value='<%# Eval("ProfileID") %>' />
                <asp:LinkButton ID="lbDelete" runat="server" CommandName="Delete" Text="Delete" />
            </ItemTemplate>
            <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
            <ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
        </asp:TemplateField>
    </Columns>
    <PagerSettings PageButtonCount="50" Position="TopAndBottom" />
</asp:GridView>
<table>
    <tr>
        <td class="auto-style1">
            <uc1:ToolTipLabelControl runat="server" ID="lblObjectID" Text="<% $PayrollResources:Admin.CaseProfilePersonal.ObjectID.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.ObjectID.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style4" rowspan="2">
            <uc1:ToolTipLabelControl runat="server" ID="lblOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfilePersonal.OriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.OriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style2" rowspan="2">
            <uc1:ToolTipLabelControl runat="server" ID="lblNotOriginalCopy" Text="<% $PayrollResources:Admin.CaseProfilePersonal.NotOriginalCopy.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.NotOriginalCopy.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style1">
            <uc1:ToolTipLabelControl runat="server" ID="lblOnRequest" Text="<% $PayrollResources:Admin.CaseProfilePersonal.OnRequest.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.OnRequest.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style1">
            <uc1:ToolTipLabelControl runat="server" ID="lblDateSubmitted" Text="<% $PayrollResources:Admin.CaseProfilePersonal.DateSubmitted.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.DateSubmitted.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="auto-style1">
            <uc1:ToolTipLabelControl runat="server" ID="lblNote" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Note.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Note.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
    </tr>
    <tr>
        <td class="auto-style1" rowspan="2">
            <asp:DropDownList ID="ddlObjectID" runat="server" Width="100%">
            </asp:DropDownList>
        </td>
        <td class="auto-style1" rowspan="2">
            <uc3:DatePicker ID="dpOnRequest" runat="server" />
        </td>
        <td class="auto-style1" rowspan="2">
            <uc3:DatePicker ID="dp1DateSubmitted" runat="server" />
        </td>
        <td class="auto-style1" rowspan="2">
            <asp:TextBox ID="txtNote" runat="server" Height="66px" TextMode="MultiLine" Width="99%"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: center">
            <asp:CheckBox ID="cb1OriginalCopy" runat="server" />
        </td>
        <td style="text-align: center">
            <asp:CheckBox ID="cbNotOriginalCopy" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td class="auto-style1"></td>
        <td style="text-align: right">
            <asp:Button ID="btnAdd" runat="server" CssClass="adminButtonBlue" Text="<% $PayrollResources:Admin.CaseProfilePersonal.Add.Text %>"
                ToolTip="<% $PayrollResources:Admin.CaseProfilePersonal.Add.Tooltip %>" CausesValidation="False" OnClick="btnAdd_Click" />
        </td>
    </tr>
</table>




